package Practice.Practice_02.LoginAndRegistration;

import java.util.Objects;

public class Inquire {
    public Inquire(){

    }
    public static void inquire(Account[] acc){
        for (int i = 0; i < acc.length; i++) {
            if (Objects.equals(acc[i].getUsername(), "-1") && Objects.equals(acc[i].getPassword(), "-1")) {
                continue;
            }
            System.out.println(acc[i].getUsername() + " " + acc[i].getPassword());
        }
    }
}
